package com.neuedu.dao.impl;

import java.util.List;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.neuedu.dao.ProviderDao;
import com.neuedu.model.Provider;

@Repository
public class ProviderDaoImpl implements ProviderDao{

	@Autowired
	private SqlSessionTemplate sqlSessionTemplate;
	@Override
	public List<Provider> findList() {
		return sqlSessionTemplate.getMapper(ProviderDao.class).findList();
	}
}
